<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div class="bjui-pageContent">
	<form id="j_pwschange_form" action="${ctx}/sys/sysUserAction/doChangePwd" data-toggle="validate" method="post">
		<input type="hidden" name="id" value='<shiro:principal property="userId"/>'>
		<input type="hidden" name="account" value='<shiro:principal property="account"/>'>
        <hr>
        <div class="form-group">
            <label for="j_pwschange_oldpassword" class="control-label x90">旧密码：</label>
            <input type="password" data-rule="required" name="password" id="j_pwschange_oldpassword" value="" placeholder="旧密码" size="20">
        </div>
        <div class="form-group" style="margin: 20px 0 20px; ">
            <label for="j_pwschange_newpassword" class="control-label x90">新密码：</label>
            <input type="password" data-rule="新密码:required" name="newpassword" id="j_pwschange_newpassword" value="" placeholder="新密码" size="20">
        </div>
        <div class="form-group">
            <label for="j_pwschange_secpassword" class="control-label x90">确认密码：</label>
            <input type="password" data-rule="required;match(newpassword)" name="" id="j_pwschange_secpassword" value="" placeholder="确认新密码" size="20">
        </div>
	</form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>